
package org.apache.solr.update;

// TODO: make inner?
// TODO: store the highest possible in the index on a commit (but how to not block adds?)
// TODO: could also store highest possible in the transaction log after a commit.
// Or on a new index, just scan "version" for the max?
/** @lucene.internal */
public class VersionBucket {

    public long highest;

    public void updateHighest(long val) {

        if (highest != 0) {
            highest = Math.max(highest, Math.abs(val));
        }
    }
}
